home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt03.dir / 00022_Script_22 < prev    next >
Text File  |  1994-11-15  |  5KB  |  208 lines

  1. on startMovie
  2.   global inFrame, nowFrame, nowMovie, currWorld, realWorld, currMM
  3.   global lastFrame, dialogOn, jmpFrame, nextLT, prevLT
  4.   cursor 4
  5.   set prevLT = "FLWLT02"
  6.   set nextLT = "FLWLT04"
  7.   set dialogOn = FALSE
  8.   set currMM = "FLWMM"
  9.   set nowFrame = "ltear877000°°°"
  10.   set inFrame = ""
  11.   puppetsprite 9, TRUE
  12.   puppetSprite 11, TRUE
  13.   puppetSprite 12, TRUE
  14.   set the immediate of sprite 11 to TRUE
  15.   set the immediate of sprite 12 to TRUE
  16.   puppetSprite 20, TRUE
  17.   puppetSprite 21, TRUE
  18.   puppetSprite 22, TRUE
  19.   puppetSprite 23, TRUE
  20.   set the immediate of sprite 20 to TRUE
  21.   set the immediate of sprite 23 to TRUE
  22.   set realWorld = the number of cast "realWorld"
  23.   set currworld = "w03"
  24. end startMovie
  25.  
  26. on stepMovie
  27.   global nowFrame,currFrame
  28.   if nowFrame <> currFrame then
  29.     seeAlsoList
  30.     set currFrame = nowFrame
  31.   end if
  32. end stepMovie
  33.  
  34. on stopMovie
  35.   set the castNum of sprite 21 to 1050
  36.   puppetSprite 21, FALSE
  37.   put " " into field "seeAlsoText"
  38.   updateStage
  39. end stopMovie
  40.  
  41. on saveLocals
  42.   global lastFrame, nowFrame, lastMovie, origLocH
  43.   set lastMovie = the movie
  44.   set lastFrame = nowFrame
  45. end saveLocals
  46.  
  47. on ltForStep
  48.   global inFrame, nextLT, ltQT
  49.   puppetSprite 4, FALSE
  50.   set ltQT = FALSE
  51.   set inFrame = ""
  52.   if the frame = label (line (the number of lines in the labellist - 1) of the labellist) then
  53.     
  54.     go to frame "ltear882001°°°" of movie nextLT
  55.   else
  56.     go to marker (+1)
  57.     updateStage
  58.   end if
  59. end ltForStep
  60.  
  61. on ltBackStep
  62.   global inFrame, prevLT, ltQT
  63.   puppetSprite 4, FALSE
  64.   set ltQT = FALSE
  65.   set inFrame = ""
  66.   if the frame < 5 then
  67.     
  68.     go to frame "ltear872005°°°" of movie prevLT
  69.   else
  70.     go to marker (-1)
  71.     updateStage
  72.   end if
  73. end ltBackStep
  74.  
  75. on checkNav
  76.   if rollover(12) then
  77.     set the castNum of sprite 12 to the number of cast "leftUp"
  78.   else
  79.     set the castNum of sprite 12 to the number of cast "leftRt"
  80.   end if
  81.   
  82.   if rollover(11) then
  83.     set the castNum of sprite 11 to the number of cast "rightUp"
  84.   else
  85.     set the castNum of sprite 11 to the number of cast "rightRt"
  86.   end if
  87.   cursor -1
  88.   updateStage
  89. end checkNav
  90.  
  91. on buttonState
  92.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  93.   
  94.   if dialogOn = FALSE then
  95.     
  96.     --sticking local call here for convenience
  97.     worldLite
  98.     if the mouseV > 200 or bFlag = TRUE then
  99.       set bFlag = FALSE
  100.       doState
  101.     end if
  102.   end if
  103. end buttonState
  104.  
  105. on scrollRight
  106.   if the clickon = 11 then
  107.     sound stop 1
  108.     startTimer
  109.     repeat while the timer < 2
  110.       set the castNum of sprite 11 to the number of cast "rightDn"
  111.       updateStage
  112.     end repeat
  113.     timeRight
  114.     flush
  115.   end if   
  116. end scrollRight
  117.  
  118. on scrollLeft
  119.   if the clickon = 12 then
  120.     sound stop 1
  121.     startTimer
  122.     repeat while the timer < 2
  123.       set the castNum of sprite 12 to the number of cast "leftDn"
  124.       updateStage
  125.     end repeat
  126.     timeLeft
  127.     flush
  128.   end if  
  129. end scrollLeft
  130.  
  131. on timeLeft
  132.   global prevLt
  133.   puppetSprite 4, FALSE
  134.   
  135.   go to movie prevLT
  136. end timeLeft
  137.  
  138. on timeRight
  139.   global nextLt
  140.   puppetSprite 4, FALSE
  141.   
  142.   go to movie nextLT
  143. end timeRight
  144.  
  145. on worldLite
  146.   set the castNum of sprite 9 to 2
  147.   if rollover(9) then
  148.     set the castNum of sprite 9 to 21
  149.   end if
  150. end worldLite
  151.  
  152. on rollVLB3
  153.   if the mouseH >168 and the mouseH < 288 and the mouseV > 75 and the mouseV < 163 then
  154.     set the castNum of sprite 4 to 6
  155.     if the mouseDown then 
  156.       set the castNum of sprite 4 to 3
  157.     end if
  158.   else if the mouseH > 283 and the mouseH < 364 and the mouseV > 127 and the mouseV < 217 then
  159.     set the castNum of sprite 4 to 7
  160.     if the mouseDown then 
  161.       set the castNum of sprite 4 to 3
  162.     end if
  163.   else if the mouseH > 366 and the mouseH < 434 and the mouseV > 90 and the mouseV < 191 then
  164.     set the castNum of sprite 4 to 8
  165.     if the mouseDown then 
  166.       set the castNum of sprite 4 to 3
  167.     end if
  168.   else if the mouseH > 435 and the mouseH < 552 and the mouseV > 143 and the mouseV < 225 then
  169.     set the castNum of sprite 4 to 9
  170.     if the mouseDown then 
  171.       set the castNum of sprite 4 to 3
  172.     end if
  173.   else if the mouseH > 435 and the mouseH < 618 and the mouseV > 75 and the mouseV < 163 then
  174.     set the castNum of sprite 4 to 10
  175.     if the mouseDown then 
  176.       set the castNum of sprite 4 to 3
  177.     end if
  178.   else 
  179.     set the castNum of sprite 4 to 3
  180.   end if
  181.   updateStage
  182. end rollVLB3
  183.  
  184. on jumpVLB3
  185.   sound stop 1
  186.   if the clickOn < 7 or the clickOn > 23 then
  187.     if the mouseH >168 and the mouseH < 288 and the mouseV > 75 and the mouseV < 163 then
  188.       puppetSprite 4, FALSE
  189.       go to frame "ltear877001°°°"
  190.     else if the mouseH > 283 and the mouseH < 364 and the mouseV > 127 and the mouseV < 217 then
  191.       puppetSprite 4, FALSE
  192.       go to frame "ltear877002°°°"
  193.     else if the mouseH > 366 and the mouseH < 434 and the mouseV > 90 and the mouseV < 191 then
  194.       puppetSprite 4, FALSE
  195.       go to frame "ltear877003°°°"
  196.     else if the mouseH > 435 and the mouseH < 552 and the mouseV > 143 and the mouseV < 225 then
  197.       puppetSprite 4, FALSE
  198.       go to frame "ltear877004°°°"
  199.     else if the mouseH > 435 and the mouseH < 618 and the mouseV > 75 and the mouseV < 163 then
  200.       puppetSprite 4, FALSE
  201.       go to frame "ltear877005°°°"
  202.     else 
  203.       nothing
  204.     end if
  205.   end if
  206.   flush
  207. end jumpVLB3
  208. --